package com.example.syl.basaimovie.api;

/**
 * Created by syl on 2017/1/6.
 */
public class API {
    //引导界面
    public static final String WelcomeUse="http://www.moviebase.cn/uread/app/splash/splashList?platform=2&appVersion=1.7.0&osType=2";
    //    推荐
    //    objectType 控制二级类型 多样化布局
    public static final String HOME_ONE = "http://www.moviebase.cn/uread/app/recommend/recommend?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&pageContext=1&appVersion=1.7.0";

    //    文章评论 {articleid}
    public static final String ARTICAL_COMM = "http://www.moviebase.cn/uread/app/userCommentArticle/commentList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&appVersion=1.7.0&articleid=";

    //    视频二级 推荐中的id=25c00e6bc2ea4d888233127a81f6a96a {cmsVideo/id} 类型objectType=2
    public static final String VIDEO_TWO = "http://www.moviebase.cn/uread/app/video/cmsVideo/";
    public static final String VIDEO_TWO_PARAM="?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&appVersion=1.7.0";
    //    精彩评论 {contentId}
    public static final String VIDEO_COMM = "http://www.moviebase.cn/uread/app/comment/userComment?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&contentType=2&contentId=";

    //    往期精选
    public static final String LASTDAY_ONE = "http://www.moviebase.cn/uread/app/recommend/lastDays?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0";

    //    当日全部内容 往期精选containerId=b7e3225c20b442aa87bb1cca15a8d5ea	{lastDays/id}
    public static final String LASTDAY_TWO = "http://www.moviebase.cn/uread/app/recommend/lastDays/";
    public static final String LASTDAY_TWO_PARAM = "?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0";




    //    分类
    public static final String THEME_ONE = "http://www.moviebase.cn/uread/app/category/categoryList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0";

    //    全部专题    //拼接页数1
    public static final String TOPICLIST = "http://www.moviebase.cn/uread/app/topic/topicList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&pageContext=&appVersion=1.7.0";
    public static final String TOPICLIST_ENDURL = "&appVersion=1.7.0";


    //    专题 二级顶部 分类中id=681a4e153f3343c3bc73c1467b2f941c	{topicId}  推荐的objecttype=5，分类中的专题
    public static final String THEME_TWO_TOP = "http://www.moviebase.cn/uread/app/topic/topicDetail?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&topicId=";
    //    专题 二级列表 分类中id=681a4e153f3343c3bc73c1467b2f941c	{topicId}
    public static final String THEME_TWO_LIST = "http://www.moviebase.cn/uread/app/topic/topicDetail/articleList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&pageContext=";
    public static final String THEME_TWO_LIST_ENDURL ="&appVersion=1.7.0&topicId=";

    //    三级视频 二级列表中的id=b5bbec964ac347d799a0a8725e656a87 {cmsVideo/id}
    public static final String THEME_THREE = "http://www.moviebase.cn/uread/app/video/cmsVideo/b5bbec964ac347d799a0a8725e656a87?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0";

    //    精彩评论 二级列表中的id=b5bbec964ac347d799a0a8725e656a87 {contentId}
    public static final String THEME_THREE_COMM = "http://www.moviebase.cn/uread/app/comment/userComment?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&contentType=2&contentId=b5bbec964ac347d799a0a8725e656a87";

    //    热门文章  分类articleList中的id	变量{articleId}   具体文章界面　　　objecttype==1
    public static final String HOT_ARTICAL = "http://www.moviebase.cn/uread/app/article/artDetail?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&articleId=";


    //    发现
    public static final String FIND_ONE = "http://www.moviebase.cn/uread/app/film/recommendList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0";

    //    二级 发现filmResources中的id {id}
    public static final String FIND_TWO = "http://www.moviebase.cn/uread/app/film/filmResource?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&pageContext=1&appVersion=1.7.0&id=";

    //    评论 发现filmResources中的id {id}
    public static final String FIND_TWO_COMM = "http://www.moviebase.cn/uread/app/film/filmResourceComments?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&pageContext=1&appVersion=1.7.0&id=";




    //    个人主页 顶部个人信息
    //    用户头像携带的userid=d02d219914d6439c9e7275bef5c1aea1	{userid}
    public static final String USER_ONE = "http://www.moviebase.cn/uread/app/user/userDetailMore?&platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&userId=";

    //    想看 用户头像携带的userid=3183901ca25b4ff4967ec09134166559	{userid}
    public static final String USER_WANT = "http://www.moviebase.cn/uread/app/film/userWatch/wantToWatchs?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&userid=";

    //    已看 用户头像携带的userid=d02d219914d6439c9e7275bef5c1aea1	{userid}
    public static final String USER_WATCH = "http://www.moviebase.cn/uread/app/film/userWatch/watcheds?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&userid=";

    //    订阅 userId=d02d219914d6439c9e7275bef5c1aea1	{userid}
    public static final String SUBSCRIBE = "http://www.moviebase.cn/uread/app/topic/user/subscribeList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&userId=";

    //    底部列表 userId=d02d219914d6439c9e7275bef5c1aea1{userid}
    public static final String USER_FEED = "http://www.moviebase.cn/uread/app/userFeeds/list?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1003&appVersion=1.7.0&userid=";


    //    搜索界面
    //    搜索电影 {query}
    public static final String QUERY_MOVIE = "http://www.moviebase.cn/uread/app/movie/search?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&start=";
    public static final String QUERY_MOVIE_END = "&channelId=1003&appVersion=1.7.0&query=";
    //    搜索文章 {query}
    public static final String QUERY_ARTICLE = "http://www.moviebase.cn/uread/app/article/search?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&start=";
    public static final String QUERY_ARTICLE_END = "&channelId=1003&appVersion=1.7.0&query=";



    //    文章列表
    public static final String SOURCE_DETAIL = "http://www.moviebase.cn/uread/app/source/sourceDetail?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1002&appVersion=1.7.0&sourceId=";
    //    全部
    public static final String SOURCE_LIST = "http://www.moviebase.cn/uread/app/source/list?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1002&appVersion=1.7.0";
    //    作者
    public static final String AUTHORARTLIST = "http://www.moviebase.cn/uread/app/source/authorArtList?platform=2&deviceId=A8C73E0D1ED1A2BED491C9238C8FD8A0&channelId=1002&appVersion=1.7.0&authorId=";

}
